package com.spvs.system.api;


import com.spvs.common.core.constant.SecurityConstants;
import com.spvs.common.core.constant.ServiceNameConstants;
import com.spvs.common.core.web.domain.AjaxResult;
import com.spvs.system.api.domain.EquipNotice;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 用户签名照
 */
@FeignClient(contextId = "sysUserAutograph", value = ServiceNameConstants.SYSTEM_SERVICE)
public interface ISysUserAutographService {


    /**
     * 获取用户签名照
     * @param userId
     * @return
     */
    @GetMapping(value = "/autograph/{userId}")
    public AjaxResult getInfo(@PathVariable("userId") Long userId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}
